fix so that ensure is called on a real promise