fix issue with unjoined table on prefixed projects