Fixed the line number for functions