fixed gallery image spec bug