properly handle very first deployment