fix for paginate color