Fix other mistake remove unnecessary check & variable