bugfix for openssl