error handling for no entry added
ugly solution for nil option
convert unrecognized categories to standard type