fixed some php