Fix to support params which have 2 or more placeholders