delete unnecessary memset