Fixed issue with bug patch