fix property assignment