bugfix of optimization ;-)