fix bug on single post view