fixed impt bug