minor fixes to WSE