You're adding keymanager but not removing the code from the client.