empty node error resolved