adjust gallery part for ffos1.2