fix document sponsors and categories not saving