remove readdirp it is not needed