fix object attribute access syntax