temp fix for gallery lookup