第一个是因为’might‘
第二个是因为时态问题,如果非要用when,要改成
an idea occurred to me when I turned to my English teacher for help