templates fix for new jade