fix gallery show and cart add