workaround because of view test moving instance_double to double, even this is not clean