fixed strncpy bug, onto EC.