fixed error thigns