HABTM Validation

Hi
I have a many-to-many relationship between users and groups
set up in my application, using a join table (users_groups).
i have wrote validation in both a table,

at the time of showing error message
its add one extra validation message
as “Groups is invalid”

how to avoid this message

with regards
shiva