change <%= to <% for if statement