fixing statepersistor plugin's column order restore bug