Fixes errors.