chcecking incorrect gorup and messages