fix sep extraction and usage