fix form switches