fix for clearcut bug