try to fix key error
close debug messages