fix problem on first start