Getting the wrong object