remove localhost from database file