fixed bootstrap for PHP 5.2