removing classes and dist