bugfix: the return value was missing