fix template for 0.3 with relative and absolute paths