removed double assignments

removed double assignments for `$data` array.
Ah, you are right. I read the diff wrong.