fixed will paginate syntax in view