rewrite 'load depend' method