Fixed a bug that caused OrwWls to fail.

Signed-off-by: hajee <hajee@moretIA.com>