fix html in criteria (form problems)