eliminate format warning in macosx