added get group info method
fixed error