Allow spaces in category name

Fix #249