Fix small bug in the tweak plugin