fix a bug on delkey
delkey now also works without any argument