fixed bug on admin post creation