fixed bug crashing node