correct removal of -1