Fixed Bug in getAllSlugs