remove stupid memory bug, more to follow