fixed ag enter prompt