fix resolutions cast