fix aws problem with hostname

only appears when messing with VPC