fix /0 problem