* prevent filling debug param when debug is off * fix php warning: "$item" must be passed by reference