fix pager and maven build warning