BUG: Can not unlink linked states