Fix bug with parsing erb code at the root level