dont cut off last character of original jade template