to fixup the bug as 64bit in tgetstr string error