get post categories bugfix