eliminate setup primitive