fix sidebar bug and paginator single post bug