fixed bug where double negation was interpreted as decrement
guard against negative padding