finish fragmentClass