Fixing bootstrap exeption