fixed error with not sending