Fixed error on first start.