why not remove the if and put `buildForm(plan);` after line 114 in try/catch