start to fix the companies setting write the controller