fixed configuration parsing