fixing error margin on registrations