page-work loop fixed working