add duplicate class to key input