dealing with import discrepancies for backwards compatibility