remove category path, to be compatible with old urls