gallery button fix