fix blog pagination