fix active key fail