make the app more https compatible