fix int32_t overflow, add disallow copy and assign