removing ending 0