prevent 0 at the end of result string