fix link_prefix. thanks to anon on http://tinyboard.org/demo/mod.php?/sup/res/1210.html