optimization code, remove all semicolon eol