Bugfix: Replaced obsolete function call