added workaround for __getter__ and __setter__