code styling fix
fix an issue in checking wich config need to be taken for the compiling