removed extra intermediate dir