Avoiding error during solution creation