[edit] gallery  permalink fixed