fixed bug in bootstrap