Remove trailing '1'