some adjustments for using jade