remove redundant zeros