fix bug on getinfo