preserve hash when removing slugs