Bugfix: wrong return value.