tag paging add and bugfix for diary edit