removed useless patterns from the form