Fixed the endless time dispensing