updated line clear

updated line clear