fix slug bug