fix map for https