IDE-961

Fix the ResourceException caused by entry category
and the spelling mistake of category.