Fix erb processing