Fix erb generation.