Fix permalink in a really hacky way