Fixed some small  crash bugs