Localhost variable fix