Modified online mode check