inst: use repr instead of str in view