Bug fix for check warning.