fixing slug issues