bugfix: clear should also set  min max to default