fix ERB evaluation