fixed bug with object adding, block check