Fixed cat_create bug