removed useless code from of the wls types