smart compile placeholder