Fixed a bug with the returnvalue of load()