fixed separateCommas() on empty string