fixing some bugs, ssh keys