fix for error on direct access of log page on load