Fixed a 0/0 bug