Function call bugfix.