[fix] correct the type and value in getParam See merge request !3106 (cherry picked from commit 7a72ddee) 8b7daf37 [fix] correct the type and value in getParam