fixes precision stuff