fixed usleep second resolution