cleared a bug with divided by 0