fix for first time run