fixed for startup errors