Replace undefined property with and existing costant