Fixed small bug in WC Frontend