errorcube checking fix