Fixed key generator space bug.