Fix minor errors in form view