improve gallery