Fixed Error where api was referencing code from the mod