remove object check

it's stupid, but works for my usecase