fixed another old code piece