unclosed php block fix