Fixed math round bug