put sleep
small bug fixes