add category and cleanup titles