fix configuration stuff