fixed logic for hiding 'ratio' feature