Complication changing the syntax and throw error in next run

I have a syntax
datamapId0.(e.key).selected =false

after compilation, it becomes this
datamapId0.e.key.selected = false

but when I again run test cases it gives error because of syntax change , how can i avoid this