apply bootstrap first