fix: getc missing