Fixed another bug in impulse application