PHP clean up fixed