fixing php notice