removes superfluous zero string