add prepare function which replace the parameter-id with the parameter-name