less flickering with unclosed php block