editing the pag position