fixed bug in jade code