fix wrong object definition