Fix delete key problem