handle the case where trailing permutable key exists