Tweak for php notice