fixed getter/setter creation to be ie compatible