fixed deprecation error in jade layout.