Ignore last \n character

Signed-off-by: SeongJae Park <sj38.park@gmail.com>
Remove abnormal exp addition

Signed-off-by: SeongJae Park <sj38.park@gmail.com>