fix issues from jade update