Fix for https

fixes #6