Fixed exception on null node