fixing bug for nodes without input-files