set min resolution