removed write dir