Fixed splitoff() method