moved some settings from controller local to global to fix some loading issues