fixed problems with php