removed division bugs