automatically add semicolon to the end of complex let