fix force flags / flags at the end, adding automatic saved key translation to a public key