fixed bug that the post doesn't has style