fixes command results for keystore