fix double loading issue