clean before scala