Fix the bug that escape_parameter method don't escape parameters which is not array