preprocess fixes, cleaning up unused ML dir stuff