corrected waiting sec