Bugfix - incorrect function call