gallery improvment