remove warnings on implicit def