to fixup the bug of set and get