Fix bug in addkey.php