fix some wrong configurations