fixing more divisions by 0