add NSNull support in multiple replacements