Import history controller bugs fixed