fix bug of echoing double $content