fixing php file bug