Fixed issue of not loading ranks correctly