fix for larger resolutions