Fixed issue with old code removed from codebase, function call still remained