add deprecated marker to path property.
bugfix of checking template file.