fixed object pickup bug