fix get gallery key