fix syntax and delete new erb