changed formatting string to allow OS X compilation