fixed some stuff in Configuration