bugfix added recurring flag to function calls