update gently usage to used typed variable