feature(client) loadDir: change params