check error key