Remove empty offset notice

Add an new line at the end to signal the end of the expression, also
purge unwanted control chars before parsing.