fix errors with empty placeholder