initial load error fix