fix first_run for PAAS