fix some dilog