Fix bug in getset