fix bug in getset