fix object type decision