fix result[:cd]