Fix bug where placeholder wouldn't be set properly