Detect from import misordering properly