workaround to get working version, made solution's user_id and exercise_id accessible attributes