Fixes the error.