ignores blank string values in assignment