two ways to fix the error cancel out