fixed adding gallery items