Fixed bug with https and just typeid