fix pretty slug bug