divide bug fix