fix slug and add sql post subcribe