fix loading from file.  (oops!)