fixing remove bug
adding debugging line