fix bootstrap compatibility