permlink bug fixed