fix stupid division bug