bug fixes, selective ssl