replaced command categoryId with right one. Fixes #550