fix for wls patches created under root