fix ambiguous type due to OverloadedStrings and generalized elem
in GHC 7.10