Fix table onInit, use in analysis plugin