fixed incorrect warning value