check bootstrap in api functions