this might work for https redirecting \o/