multilib fix and key fix