Fixes the batch actions and stuff