fixed loading res