remove unused checking