2nd pass at making this behave... without really knowing wtf is calling unlock target unnecessarily (it isnt locked in the first place ffs)