fix error for resolution