critical bug patch on background js