fix evogallery widget for MGR_DIR