replace every meaningless wait function

typo?