avoid error on second run