Fixed wrong name if no reso found