Fixed err shadow error