use relative path to get template