fix issue where "leave now" does not work