fixed bug on test jade