fix for non closed php blocks