Updating patch to prevent fatal error