fix the bug of the dots