localhost fix for ubntu