delete duplicated line
update hide/show logic with destroy/create