fix background reg problem