fix KEYDIR echoness