add gallery
fix conf