restore calling destroy() on inputs