Fixed a function call