fixed issue with learn component