hide/show some parameter only when needed.