fix #41, add newline before end of function bracket