Remove some redundant lines fix #241.