bugfix for categories not correctly creating slug