fix math in counter sink