padding validation, fails on 1. Needs to strip rather than return 1