Fixed bug caused by sleepyness.