fixed deprecation notice in erb templates
disabled notices