fixed slug empty issue