make setting language property working