added some validations of imports