Change key.php check procedure, improve performance on removekey.php