PR from develop to master

welcome to comment my work
use sprintf function