PHP Rendering fix