Fixed key_length to eliminate EOF problem