add kbd customizatin and cleanup excursion mode