fixed bug with regions without gallery