Fix incorrect data-type in object-handler