correct behavior of print and select