use G1 instead of home for cancel, end