remove last bits of shstr