change lesson tag id to integer