fixed line numbers of function calls