remove the unused checking