Fixed extra <% end %>