fix bug in permalink