fix isotope gallery bug