fixed first load error