A method and device are disclosed for preventing a needle stick hazard in the event of a collapse of a protective needle flap of a portable drug pump. The device may include a needle guide, a secure space and/or a shield. A point of a needle is optionally deflected into a secure space upon collapse of the protective flap. The space may optionally be shielded. Optionally, the support linking the needle to the pump may pivot and/or translate. Optionally, there may be an exposing position wherein the needle protrudes through an opening in the flap. Optionally, the opening may be non-circular.