bugfix: divide fix the location of removing zeros in the front