Math error solved