cleaned up wdir