forget to update waitDialog