fix object type from blob