Fix patch problem