fixes with gallery