bug correction on chamfer mask declaration