fix 'Could not match item' when using import dependencies