made improvements for bootsp