fix bug in @import and @// with natural template