Java rounder error fix