fixed bug of applying options to wrong nodes due to kwargs overwrite.