removing debuging check