remove some caching, also remove startup errors
fix null reference