fix -1 situation