fix def.source in blocks
fix, flat and brick blocks use config from source block