https check not working - removed for now