Fixed offline mode

Signed-off-by: Dalton Pelc <daltonjpelc@gmail.com>