Fix exception while setting place