fixed error with php