error fix for model

modelExcelTransaction was using some old code and still working somehow. Xdebug threw an error on a different machine and brought it to my attention