adding default and namespace imports checks