fixing errors in bootstrap