Moved load function

Lod was not working properly for search so now it's moved