added -w option patch