fixed the admin posts refactor