Fix bug with parsing @base.