fix bugs: wv and bound