add localhost to white list instead of disabling filter