fixes color_id to integer for heroku