Fix get resolution