fixed a memset call.