keystore and rebuild