some php changes