Bugfix: division by 0