fix p.submit class in forms to work correctly