bugfix: return 0