fixed issue with the first try to expand group