fix problem with Jade templates