fixes to category and entry adding