galery path fix