bug with scala TypeTag