fix for hosted domains