add sleep time, fix price bug