fix ssh key remove function