renames p#paginator into div#paginator