a fix for comment controller using post slugs