Fixed a bug in the load method. The loading should now work properly.
(author: M. Schmidtpeter)