remove old dist mechanism