check first run flag