Fixed load API
Fixed #296