This was indeed an issue and it is the correct fix for that error (still having problems with other things tho)