Fix with offset in groups