avoid warning for localhost case