reduce overhead of mutation observer handler