some changes for output of sent keys