fix log/last links issue