fix placholder counting