fix some crashes