fixed a few things in the ssl section that were not tested