Fixed errors in nodes database