Fix undefined property
Fix wrong closure syntax for default language