edit the exception in create activity