correction in removePlaceholder function

Corrected placeholder tag in value check