more corrections after the introduction of methods get_xxx and set_xxx