bugfix

memset is called with the wrong parameters