changed gallery binding