It works fine without split/join and split/join is messing with everything