fixed bug in setting of properties from editor