variable is removed from template