bug fix: http/s wasnt working