[shortkey] fix key parsing