handle spaces at end of continued line
update sample hash