found the bug that was stopping the gallery plugin from triggering