ambiguous module names throw error only at runtime