fixed sloppy integer divide, works now