KeyGenerator change, made a variable final which should not be changed also a small space added