string formatting fix for NSInteger