remove properties and compute everything in template