fixed deprecation in jade template