fix bug when placeholder is an integer.