fixed hide on delete and list switching errors