fix background loading process