bug fix slider and gallery photos add