devide by zero bug fixed.