fix custom errors in create account helpers