Fixed a bug related with external @import files