fixed error where status was not set to model