sync 3.8.7 source code