fixed a bug with the input lock not being removed on abort