correct padding for drive, fixes #1187