remove redundant placement code