Fix extra tokens on import directive.