corrected object in conditional