fixed bug where student actions were being recorded multiple times