validate imports correctly