fixed key leak