fixed jade deprecation warnings