Don't load view twice, try to remove the loading of view from if($this->form_validation->run()== FALSE) because when the view loads then set_value inside it is triggered and you have called loading...