finished adaptation handler