Fix getter & setter bug.