Bug fix. Referenced wrong object.