fix public_link exception