fixed some bugs with when customers leave due to time