fixed object finding and added name usage