blog pagination fixes