remove php warning