handle space issue in dal
add unittest case'