fixed some bootstrap bugs