some galery fixes