pagination and search align correction