fix bussy wait