Fix bug with missing zeromem