remove unnecessary check