Replace undefined property with and existing costant
Implements offline indicator