Fix pirate invasion