bug fix for node return value, added server log