fix loading sync issues