Fixed the form error on cas redesign