change kill_hidden condition