finally fixed all strncpy -> memcpy