fix bug on gallery