form end tag fix