bug fixing in ward