fixed the stuff that went wrong in the last commit, also added the missing adjust decrease command