Fixed small startup bug