fixing divid by 0