fixed some WE errors