fix no category on event auto-creation (issue #644)