bug fix for importing components