ensure doubles