fix class of from group template