fix op ostream << to print ticks polymorphic