sql concat with null issue fix