small fix on cfg types