remove un-needed closing php tags