added error log for session item tracking