do configure only once