remove unneeded code from framework/initialize.php