bug fix: offline