patch for std namspace bug