fixed issue with the HasSpock typeclass