source correction for compatibility