fixed start up crash