Checking gain unit is instanciated before to use it