remove unused check.