rename variables named 'object' to prevent redefining class 'object'