strict and notice php error removed for actions of File menu