fixed langx bug. (thanks @fabienwang)
added @ when using fopen() to avoid warningz.