Fix errors during node import