fixed startup issue