fixed slug issue for normal user, prevent slug is empty.