fix form validation bugs in change recipe