Fixed dividing by 0