fix bugs in create new resource type modal in change recipe