simple fixes

there was a bug that made it impossible to upgrade OR downgrade at 0