changing constructors due to APi changes done for WSAS-1727