ah! so it turns out all i needed to do was remove the line of code that used that function! its working just fine now
Glad to hear it's working :)