Fix #84 placeholder should be removed before executing commands