Properly format resolution