fix def value injection