pass on individula directory. fixes #255