fix problem with current session