minor bug fixed for the new secret command