made form conform to migrations