handle bootstrap properly