minor FIX: permalink parsing