completion can crash for malformed input