more php notice cleanup