use correct value for padding with spaces