bug fix for era create form