fix -reupped logic