Fix split method