update to ensureTop