removed error flags from php file