fixed misclassified output to be within the source folder