bug fixes
test cases for multi-line