Fix offline mask