Fix bug in gallery
Change model add locale inserts