fixed run-time error with deprecated jade syntax