little fix in class.wb.php; fix for issue #145