fix pagination and form styles