resolved error in calling notNode