fixed res loading