Fix placeholders parsing