resize and loading fixes