removes lines better