[backend] small fix

merging left illegal values if the value is a string