Fixed a problem with resolutions