correcting views to erb