fix custom hostname