fixed error with creating status