fix: wrong use of memset