small tweak on offline