added 'stat' to states to avoid 'ignore_errors' pattern