improve links, fix code tag bug