fix loading path error