fixed output dir
cleaning in some files