Fix bad layout erb template
Fix a no more existing method invokation