fixed bools not loading correctly on mac os x