fix fuckup with function calls
set some positions for functions and if
set end for subroutines