fixed parseconfig