fix loading path bug